<?php   if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<script type="text/javascript">
$(function(){
	$("#content").css("background","url("+BASEURL+"files/cp/icons/home.gif) no-repeat right bottom");
});
</script>
<div>
	<h1 style="font-weight: bold;font-size: 15px;font-family: Arial;color: #ccc;">Instant access to your site sections :</h1>
</div>
<?php if(count($cpusersModuleAL) > 0 && $cpusersModuleAL[0]->perm_view): ?>
<div class="homeItem">
	<a href="<?php echo base_url() ?>cp/home/inventory/CPusersModel" onclick="one.changeContent(this.href); return false;">
		<img border="0" align="top" src="<?php echo base_url()?>files/cp/icons/specific/users.gif">
		<br><center>Users</center>
	</a>
</div>
<?php endif; ?>
<?php /* if(count($contactsModuleAL) > 0 && $contactsModuleAL[0]->perm_view): ?>
<div class="homeItem">
	<a href="<?php echo base_url() ?>cp/contacts/inventory/contactsModel" onclick="one.changeContent(this.href); return false;">
		<img border="0" align="top" src="<?php echo base_url()?>files/cp/icons/specific/contacts.gif">
		<br><center>Contacts</center>
	</a>
</div>
<?php endif; */ ?>
<?php if(count($productsModuleAL) > 0 && $productsModuleAL[0]->perm_view): ?>
<div class="homeItem">
	<a href="<?php echo base_url() ?>cp/home/inventory/productsModel" onclick="one.changeContent(this.href); return false;">
		<img border="0" align="top" src="<?php echo base_url()?>files/cp/icons/specific/products.gif">
		<br><center>Products</center>
	</a>
</div>
<?php endif; ?>
<?php if(count($articlesModuleAL) > 0 && $articlesModuleAL[0]->perm_view): ?>
<div class="homeItem">
	<a href="<?php echo base_url() ?>cp/home/inventory/ArticlesModel" onclick="one.changeContent(this.href); return false;">
		<img border="0" align="top" src="<?php echo base_url()?>files/cp/icons/specific/news.gif">
		<br><center>Articles</center>
	</a>
</div>
<?php endif; ?>
<?php if(count($pagesModuleAL) > 0 && $pagesModuleAL[0]->perm_view): ?>
<div class="homeItem">
	<a href="<?php echo base_url() ?>cp/home/inventory/pagesModel" onclick="one.changeContent(this.href); return false;">
		<img border="0" align="top" src="<?php echo base_url()?>files/cp/icons/specific/pages.gif">
		<br><center>Static Pages</center>
	</a>
</div>
<?php endif; ?>